// 职位表字段映射
const positionNameKeyMap = [
    { name: '职位代码', key: 'positionCode', width: 100, fixed: 'left' },
    { name: '招录机关', key: 'recruitingOrganization', width: 140, fixed: 'left' },
    { name: '职位名称', key: 'positionName', search: false, width: 120 },
    { name: '学历', key: 'education', search: false, width: 100 },
    { name: '学位', key: 'degree', search: false, width: 100 },
    { name: '专业', key: 'major', search: false, width: 220, maxWidth: 320 },
    { name: '经历要求', key: 'experienceRequirement', search: false, width: 100 },
    { name: '专业科目', key: 'professionalSubject', search: false, width: 100 },
    { name: '其他', key: 'otherRequirements', search: false, width: 200 },
    { name: '招考人数', key: 'recruitmentNumber', search: false, width: 100 },
    { name: '性别', key: 'sex', search: false, width: 100 },
    { name: '申论类别', key: 'essayCategory', search: false, width: 100 },
    { name: '年龄', key: 'age', search: false, width: 100 },
    { name: '机构性质', key: 'organizationNature', search: false, width: 100 },
    { name: '机构层级', key: 'organizationLevel', search: false, width: 100 },
    { name: '职位类别', key: 'positionCategory', search: false, width: 120 },
    { name: '职级层次', key: 'positionLevel', search: false, width: 160 },
    { name: '备注', key: 'remarks', search: false, width: 160, fixed: 'right' },
    { name: '咨询电话', key: 'contactPhone', search: false, width: 130 }
];

// 分数表字段映射
const fractionNameKeyMap = [
    { name: '排名', key: 'rank', width: 80, search: false, fixed: 'left' },
    { name: '职位代码', key: 'positionCode' },
    { name: '行测成绩', key: 'administrativeAptitudeScore', search: false, },
    { name: '申论成绩', key: 'essayScore', search: false, },
    { name: '专业成绩', key: 'professionalScore', search: false, },
    { name: '笔试成绩', key: 'writtenExamScore', search: false, },
    { name: '专业科目', key: 'professionalSubject', search: false, },
    { name: '申论类别', key: 'essayCategory', search: false, },
    { name: '划线分类', key: 'scoreCategory', search: false, },
    { name: '准考证号', key: 'examNumber', fixed: 'right' },
];

module.exports = {
    positionNameKeyMap,
    fractionNameKeyMap
};